<div class="box white_bg">
<? if (isset($this->viewParams['unread'])) :?>
<b>
	<a href="<?=$this->hvnUrl(array(
			"action" => "mailbox"
		), 'account') ?>?status=-1"> Inbox (<?= $this->viewParams['unread'] ?>) </a>
</b>
<?else :?>
	<a href="<?=$this->hvnUrl(array(
			"action" => "mailbox"
		), 'account') ?>?status=-1"> Inbox </a>

<?endif?>
<br/>
<? if (isset($this->viewParams['unread'])) :?>
<b>
	<a href="<?=$this->hvnUrl(array(
			"action" => "mailbox"
		), 'account') ?>?status=0"> Unread(<?= $this->viewParams['unread'] ?>) </a>
</b>
<?else :?>
	<a href="<?=$this->hvnUrl(array(
			"action" => "mailbox"
		), 'account') ?>?status=1"> Read</a>
<?endif ?>
<br/>
	<a href="<?=$this->hvnUrl(array(
			"action" => "mailbox"
		), 'account') ?>?flag=1"> Flagged(0)</a>
<br/>
	<a href="<?=$this->hvnUrl(array(
			"action" => "mailbox"
		), 'account') ?>?status=-1&poster_id=<?=$this->viewParams['viewer_id']?>"> Sent</a>
</div>
